﻿using System;

namespace PlugNT.Cms.Model
{
    [Serializable]
    public class ChannelInfo
    {

        private int _id;
        private string _clsno;
        private string _clsname;
        private string _clstag;
        private string _clslist;
        private string _clsparentno;
        private int _clslistlen;
        private string _createpath;
        private string _navigation;
        private string _color = "red";
        /// <summary>
        /// 编号
        /// </summary>
        public int id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 栏目编号
        /// </summary>
        public string clsno
        {
            set { _clsno = value; }
            get { return _clsno; }
        }
        /// <summary>
        /// 栏目名
        /// </summary>
        public string clsname
        {
            set { _clsname = value; }
            get { return _clsname; }
        }
        /// <summary>
        /// 栏目标签（栏目目录名用于生成静态文件）
        /// </summary>
        public string clstag
        {
            set { _clstag = value; }
            get { return _clstag; }
        }
        /// <summary>
        /// 栏目字符串
        /// </summary>
        public string clslist
        {
            set { _clslist = value; }
            get { return _clslist; }
        }
        /// <summary>
        /// 父级编号
        /// </summary>
        public string clsparentno
        {
            set { _clsparentno = value; }
            get { return _clsparentno; }
        }
        /// <summary>
        /// 级别数
        /// </summary>
        public int clslistlen
        {
            set { _clslistlen = value; }
            get { return _clslistlen; }
        }
        /// <summary>
        /// 生成目录
        /// </summary>
        public string createpath
        {
            set { _createpath = value; }
            get { return _createpath; }
        }
        /// <summary>
        /// 导航
        /// </summary>
        public string navigation
        {
            set { _navigation = value; }
            get { return _navigation; }
        }

        /// <summary>
        /// 字体颜色 
        /// </summary>
        public string color
        {
            set { _color = value; }
            get { return _color; }
        }
    }
}
